package com.wze.wze.Impl;

import com.wze.wze.Entity.Singer;
import com.wze.wze.Entity.UserTab;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SingerImpl {
    Singer getSingerById(String SName) ;//根据id获取用户
    Singer getSingeById(int id) ;//根据id获取用户
    int delSingerById(int id);//根据id删除用户
    int addSinger(String SName,String SInfo,String SImg);
    int upSinger(@Param("singer") Singer singer);//修改
    List<Singer> getSingerList(int Start, int Page, int id, String SName);//分页查询所有用户
    int getSingerCount();
}
